Method and storage device for protecting content

ABSTRACT

A method for protecting content of a storage device including a memory for storing data and a controller for managing data input and output of the memory is provided, in which a Data Encryption Key (DEK) for encrypting the data stored in the memory is generated, an IDentifier (ID) of the memory is acquired, the DEK is encrypted using user secret information and the ID of the memory, and the encrypted DEK is stored in the memory.

PRIORITY

This application claims priority under 35 U.S.C. §119(a) to a Korean Patent Application filed in the Korean Intellectual Property Office on Nov. 14, 2011 and assigned Serial No. 10-2011-0118459, the content of which is incorporated herein by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates generally to a method for protecting content, and more particularly, to a method for securely storing, reproducing, and managing content using user secret information and an IDentifier (ID) unique to a storage device.

2. Description of the Related Art

In Full Disk Encryption (FDE), content is encrypted using user secret information (e.g. a Personal Identification Number (PIN)) and stored in a storage device (e.g. a Solid State Drive (SSD), a Universal Serial Bus (USB), a Secure Digital (SD) card, etc.). Upon receipt of the user secret information, an encryption module of the storage device decrypts the content using the user secret information. Accordingly, the security of the content depends only on user secret information when a storage device that stores encrypted content is duplicated.

User secret information tends to be easily memorized, which makes it relatively easy to estimate. Moreover, careless management of a service provider or a server can cause user information to be exposed. As a result, security cannot be sufficiently ensured when the security depends only on user secret information.

Conventionally, a value set (or calculated) based on user-input secret information is directly used in encryption/decryption of information stored in a storage device. A user can memorize the amount of secret information that can the user can input, and the information can be derived for other services. Therefore, the secret information is vulnerable to exposure due to disclosure of personal information in the service industry.

Accordingly, even though storage media is conventionally encrypted, enhanced security is not conventionally ensured because the storage media depends only on user secret information.

SUMMARY OF THE INVENTION

The present invention is designed to address at least the above-described problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the present invention is to provide a method for generating a key for disk encryption, encrypting and decrypting information using the key, and a method for binding an additional device even when user information is exposed, in a technology such as FDE.

In accordance with an aspect of the present invention, there is provided a method for protecting content of a storage device including a memory for storing data and a controller for managing data input and output of the memory, in which a Data Encryption Key (DEK) for encrypting the data stored in the memory is generated, an ID of the memory is acquired, the DEK is encrypted using user secret information and the ID of the memory, and the encrypted DEK is stored in the memory.

In accordance with another embodiment of the present invention, there is provided a storage device in which a memory stores data, and a controller manages data input and output of the memory. In the controller, an encryption key generator generates a DEK for encrypting the data stored in the memory, a decryption module acquires an ID of the memory, and an encryption/decryption module encrypts the DEK using user secret information and the ID of the memory and storing the encrypted DEK in the memory.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features and advantages of certain embodiments of the present invention will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:

FIG. 1 illustrates a storage device according to an embodiment of the present invention;

FIG. 2 illustrates an active ID extraction module and a proof module according to an embodiment of the present invention;

FIG. 3 illustrates a method for generating and store an encrypted ChipID according to an embodiment of the present invention;

FIG. 4 illustrates a method for generating a data encryption key according to an embodiment of the present invention; and

FIG. 5 illustrates a method for an encrypted data encryption key according to an embodiment of the present invention.

Throughout the drawings, the same drawing reference numerals will be understood to refer to the same elements, features and structures.

DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION

Hereinafter, embodiments of the present invention will be described in detail with reference to the attached drawings. A detailed description of a generally known function and structure of the present invention will be omitted for the sake of clarity and conciseness.

FIG. 1 illustrates a storage device according to an embodiment of the present invention. The storage device 10 includes a controller 100 and a non-volatile memory 200.

The storage device 10 includes a non-volatile memory 200 for securely storing media content-related information. For example, the non-volatile memory 200 may be a Secure Digital (SD) card, a Universal Serial Memory (USB) memory, a Solid State Drive (SSD), or a Hard Disk Drive (HDD. The storage device 10 is connected or mounted to a host device (not shown) such as a portable communication terminal or a computer. Upon request of the host device, the storage device 10 stores data received from the host device in the non-volatile memory 200 and outputs data retrieved from the non-volatile memory 200 to the host device. For recoding and reading data, the storage device 10 encrypts and decrypts data using a Data Encryption Key (DEK).

The non-volatile memory 200 stores data, is managed by the controller 100, and includes a proof module 220 for performing an authentication function in interaction with an active ID extraction module 120 of the controller 100 in response to a command received from the controller 100. The non-volatile memory 200 further includes a user data storage area 210 for storing encrypted user data.

The controller 100 manages data input and output of the non-volatile memory 200. The controller 100 includes an encryption/decryption module 110 and the active ID extraction module 120.

The encryption/decryption module 110 encrypts data received from the host device and stores the encrypted data in the non-volatile memory 200. The encryption/decryption module 110 also decrypts encrypted data received from the non-volatile memory 200 and outputs the decrypted data to the host device. The active ID extraction module 120 generates an active ID for use in encrypting a DEK used for encryption of the data and outputs the active ID to the encryption/decryption module 110. Herein, the term “module” refers to hardware or a combination of hardware and software.

FIG. 2 illustrates the active ID extraction module and the proof module according to an embodiment of the present invention.

The active ID extraction module 120 includes a decryption module 130, a ChipID verification module 140, and an active ID calculation module 150. Though not shown in FIG. 2, the active ID extraction module 120 may further include an encryption module for generating an encrypted ChipID.

The decryption module 130 receives an encrypted ChipID 230 from the proof module 220, decrypts the encrypted ChipID 230 using a ChipID encryption key, and outputs the resulting ChipID as the ID of the non-volatile memory. The remaining reference numerals shown in FIG. 2 will now be discussed in reference to FIGS. 2 and 3.

FIG. 3 illustrates a method for generating and storing an encrypted ChipID according to an embodiment of the present invention. An encryption module 160 in the active ID extraction module 120 receives a ChipID stored in a first storage area 230 from the proof module 220, encrypts the ChipID using a ChipID encryption key 155, and stores the encrypted ChipID in the first storage area 230. The ChipID stored in the first storage area 230 may be deleted or moved to a second storage area. For instance, the encrypted ChipID may be generated by Equation (1), as follows:

AES(ChipID encryption key,ChipID)=encrypted ChipID  (1)

Referring to FIG. 2, the ChipID verification module 140 requests an authentication key position table to the proof module 220, receives the requested authentication key table from the proof module 220, and transmits a fixed value, a random value, and information about the position of an authentication key to the proof module 220. The values and information are used in authentication and are pre-stored in the active ID extraction module 120. The ChipID verification module 140 receives authentication information from the proof module 220, verifies the authentication information using a verification key pre-stored in the active ID extraction module 120, and determines according to the verification result whether the authentication is successful.

If the authentication of the non-volatile memory 200 is successful, the active ID calculation module 150 generates an active ID by substituting the ChipID received from the decryption module 130 and a constant pre-stored in the active ID extraction module 120 into a one-way function and outputs the active ID to the encryption/decryption module 110. The one-way function may be a hash function. The active ID, Enhanced Media ID (EMID) may be generated in Equation (2).

One-way function(ChipID,constant)=EMID  (2)

The proof module 220 includes first, second, and third storage areas 230, 240 and 250 and an authentication information generator 260.

The first storage area 230 is writable only once by the controller 100 and then is only readable. The encrypted ChipID is stored in the first storage area 230.

The second storage area 240 is a read-only area for storing and managing the authentication key position table.

The third storage area 250 for storing authentication keys is programmed during creation of the non-volatile memory 200, after which information cannot be written therein. Particularly, the third storage area 250 may be configured into a One Time Programmable (OTP) area. Direct read and test commands are not allowed for information stored in the OTP area, and the information is transmitted to the authentication information generator 260.

The authentication information generator 260 receives the fixed value, the random value, and the information about the position of an authentication key from the ChipID verification module 140 and transmits authentication information including an authentication key corresponding to the position information to the ChipID verification module 140.

FIG. 4 illustrates a method for generating a DEK according to an embodiment of the present invention. A random key generator 170 of the controller 100 receives a seed value and generates a random DEK using the seed value. The encryption/decryption module 110 encrypts data received from the host device using the DEK received from the random key generator 170 and stores the encrypted data in the non-volatile memory 200. Though not shown in FIG. 1, the random key generator 170 may be provided within the encryption/decryption module 110.

FIG. 5 illustrates a method for an encrypted data encryption key according to an embodiment of the present invention. A key generation module 190 of the controller 100 generates a Key for the DEK (KEK) using user secret information (e.g. a password) processed by a one-way function 180, the active ID received from the active ID extraction module 120, and a controller ID (the KEK may be generated using the afore-described one-way function key). The encryption/decryption module 110 encrypts the DEK using the KEK received from the key generation module 190. The encrypted DEK is stored in the non-volatile memory 200, for example, in the first storage area 230. Unlike the configuration illustrated in FIG. 1, the one-way function 180 and the key generation module 190 may reside in the encryption/decryption module 110.

As is apparent from the above description, the present invention provides a technology robust against attacks such as illegal copy and secret information estimation, by authentication of a storage device and ID-based binding of the storage device in an apparatus for encrypting and decrypting information using user secret information, such as by FDE. Therefore, when a storage device or a device including a storage device is stolen, an additional distribution of physical duplicates is minimized.

In addition, the present invention is applicable to various types of storage devices, and can be used when an Application Processor (AP) uses an off-chip non-volatile memory.

Embodiments of the present invention can be implemented in hardware or a combination of hardware and software. The software can be recorded to a volatile or non-volatile storage device such as a Read-Only Memory (ROM) irrespective of deletable or re-recordable, to a memory such as a Random Access Memory (RAM), a memory chip, a memory device, or an integrated circuit, or to a storage medium that is optically or magnetically recordable and readable by a machine (e.g. a computer), such as a Compact Disc (CD), a Digital Video Disc (DVD), a magnetic disk, or a magnetic tape. The storage is an example of a machine-readable storage medium suitable for storing a program or programs including instructions to implement the embodiments of the present invention. Accordingly, the present invention includes a program including a code for implementing the method as appended in the claims and a machine-readable storage medium that stores the program. The program may be transferred electronically through any medium such as a communication signal transmitted through a wired or wireless connection and the present invention covers equivalents thereof.

While the present invention has been particularly shown and described with reference to certain embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims. 

What is claimed is:
 1. A method for protecting content of a storage device including a memory for storing data and a controller for managing data input to and output from the memory, the method comprising: generating a Data Encryption Key (DEK) for encrypting the data stored in the memory; acquiring an IDentifier (ID) of the memory; encrypting the DEK using user secret information and the ID of the memory; and storing the encrypted DEK in the memory.
 2. The method of claim 1, wherein the DEK is set to a random value.
 3. The method of claim 1, wherein the acquisition of the ID of the memory comprises: receiving an encrypted ID of the memory from the memory; and acquiring a decrypted ID of the memory by decrypting the encrypted ID of the memory using an encryption key pre-stored in the controller.
 4. The method of claim 1, wherein the DEK is encrypted by using the user secret information, the ID of the memory, and an ID of the controller.
 5. The method of claim 1, wherein the DEK is encrypted by: generating an encryption key using the user secret information, the ID of the memory, and an ID of the controller; and encrypting the DEK using the encryption key.
 6. The method of claim 1, further comprising generating an active ID using the ID of the memory and a constant pre-stored in the controller, wherein the DEK is encrypted by using the user secret information and the active ID.
 7. The method of claim 1, further comprising: receiving an authentication key position table from the memory; transmitting position information about an encryption key to the memory; receiving authentication information including the authentication key from the memory; and verifying the authentication information using a verification key pre-stored in the controller.
 8. A non-transitory computer-readable recording medium having recorded thereon a computer program for executing a method of protecting content of a storage device including a memory for storing data and a controller for managing data input to and output from the memory, the method comprising: generating a Data Encryption Key (DEK) for encrypting the data stored in the memory; acquiring an IDentifier (ID) of the memory; encrypting the DEK using user secret information and the ID of the memory; and storing the encrypted DEK in the memory.
 9. A storage device, comprising: a memory for storing data; and a controller for managing data input to and output from the memory, wherein the controller comprises: an encryption key generator for generating a Data Encryption Key (DEK) for encrypting the data stored in the memory; a decryption module for acquiring an IDentifier (ID) of the memory; and an encryption/decryption module for encrypting the DEK using user secret information and the ID of the memory and storing the encrypted DEK in the memory.
 10. The storage device of claim 9, wherein the DEK is set to a random value.
 11. The storage device of claim 9, wherein the decryption module receives an encrypted ID of the memory from the memory, acquires a decrypted ID of the memory by decrypting the encrypted ID of the memory using an encryption key pre-stored in the controller, and outputs the decrypted ID of the memory.
 12. The storage device of claim 9, wherein the encryption/decryption module encrypts the DEK using the user secret information, the ID of the memory, and an ID of the controller.
 13. The storage device of claim 9, further comprising a key generation module for generating an encryption key using the user secret information, the ID of the memory, and an ID of the controller, wherein the encryption/decryption module encrypts the DEK using the encryption key.
 14. The storage device of claim 9, further comprising an active ID calculation module for generating an active ID using the ID of the memory and a constant pre-stored in the controller, wherein the encryption/decryption module encrypts the DEK using the user secret information and the active ID.
 15. The storage device of claim 9, further comprising a verification module for receiving an authentication key position table from the memory, transmitting position information about an encryption key to the memory, receiving authentication information including the authentication key from the memory, and verifying the authentication information using a verification key pre-stored in the controller. 